<div class="Widget_TabPane">
	<ul class="TabTitles">
		<?php foreach( $this->getTabs() as $tab ) : ?>
		<li class="<?php echo $tab->isCurrent() ? 'Current' : ''; ?>">
		<?php echo _s($tab->getTitle()); ?>
		</li>
		<?php endforeach ?>
	</ul>
	
	<ul class="TabContents">
		<?php foreach( $this->getTabs() as $tab ) : ?>
		<li class="<?php echo $tab->isCurrent() ? 'Current' : ''; ?>"
		<?php if( $tab->hasAction() ) : ?>
		action="<?php echo _s($tab->getAction()->getUrl()) ?>"
		<?php endif; ?> >
		<?php if( $tab->hasContent() ) : 
			echo $tab->getContent()->view();
		else : ?>
		<p class="Loading"><img src="images/loading.gif" alt="Loading" /></p>
		<?php endif; ?>
		</li>
		<?php endforeach; ?>
	</ul>
</div>
